const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  menuList: state => state.user.menuList,
  defaultSendInfo: state => state.user.defaultSendInfo,
  appList: state => state.user.appList,
  permissionList: state => state.user.permissionList,
  userInfo: state => state.user.userInfo,
  isLoading: state => !!state.app.loadingNumber,
  currentMenuId: state => state.user.currentMenuId,
  dynamicMenuRoutes: state => state.common.dynamicMenuRoutes,
  size: state => state.common.styleSize,
  closeOnclickModal: state => state.common.closeOnclickModal,
  hasChoose: state => state.dragConfig.hasChoose,
  curRouteName: state => state.curRouteName,
  keepAliveRoutes: state => state.common.keepAliveRoutes,
  isFromOuterClient: state => state.common.isFromOuterClient,
  zhiXiaShi: state => state.common.zhiXiaShi
}
export default getters
